package com.yeung.exam;

import java.util.ArrayList;
import java.util.Scanner;

public class VipKid_列表整数相加 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String lin1 = sc.nextLine();
        String lin2 = sc.nextLine();
        String[] arr = new String[0];
        String[] brr = new String[0];
        if (!lin1.equals(""))
            arr = lin1.split(" ");
        if (!lin2.equals(""))
            brr = lin2.split(" ");
        int len = Math.max(arr.length, brr.length);
        int[] iarr = new int[len];
        int[] ibrr = new int[len];
        for (int i = 0; i < arr.length; i++) {
            iarr[i] = Integer.valueOf(arr[i]);
        }

        for (int i = 0; i < brr.length; i++) {
            ibrr[i] = Integer.valueOf(brr[i]);
        }
        ArrayList<Integer> list = new ArrayList<>();
        for (int i = 0; i < len; i++) {
            list.add(iarr[i] + ibrr[i]);
        }
        for (Integer integer : list) {
            System.out.print(integer + " ");

        }
    }


}

class  ListNode  {
    int  val;
    ListNode  next;
    ListNode(int  x)  {  val  =  x;  }
}